package com.py.credit.service;

import java.util.List;
import java.util.Map;

import com.py.credit.entity.CreditReport;
import com.py.credit.entity.CreditReportLog;
import com.py.framework.core.common.Page;

public interface CreditReportService {

	List<Map<String, Object>> getByConditionForPage(String kId, List<String> showColumns, String[] additionalColumns,
			String condition, Page page, String username, String deptname);

	List<Map<String, Object>> getReportTrace(int id);

	void add(CreditReport report);

	void addReportLog(CreditReportLog log);

	CreditReportLog getReportLogDetail(int id);

	void createCreditReport(String path, String tybm, String qymc) throws Exception;

	Map<String, Object> getReportData(String tybm, String kId);

	String getReportSerials(String kId, String currentTime);

}
